from relex.model import LexDoc
from relex.parsers.generic import TextParser

class FPLexDoc(TextParser):
	def parse(form):
		name = form.get('doctype_id')
		priority = form.get('pubdate')
		return LexDoc(doctype_id, pubdate) 
